import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { SysRoleWithDeptEntity } from './entities/role-width-dept.entity'
import { SysRoleEntity } from './entities/role.entity'
import { RoleService } from './role.service'

@Module({
  imports: [TypeOrmModule.forFeature([SysRoleEntity, SysRoleWithDeptEntity])],
  providers: [RoleService],
  exports: [RoleService]
})
export class RoleModule {}
